package cn.edu.ylu.gaoxin.router;

import com.jfinal.config.Routes;

import cn.edu.ylu.gaoxin.controller.GoodsController;
import cn.edu.ylu.gaoxin.controller.IndexController;
import cn.edu.ylu.gaoxin.controller.NoticeController;
import cn.edu.ylu.gaoxin.controller.NoticesController;
import cn.edu.ylu.gaoxin.controller.ShopController;
import cn.edu.ylu.gaoxin.controller.ShopsController;
import cn.edu.ylu.gaoxin.controller.UserController;


/**
 * 前台路由
 *
 */
public class FrontRouter extends Routes {

	@Override
	public void config() {
		add("/", IndexController.class);
		add("/shop",ShopController.class);
		add("/user",UserController.class);
		add("/shops",ShopsController.class);
		add("/notices",NoticesController.class);
		add("/notice",NoticeController.class);
		add("/goods",GoodsController.class);
	}

}
